package com.example.demo.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 *
 * @Description: EmployeeDo
 * </p>
 * @Author yangjiwang
 * @Date 2023/2/27
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class EmployeeDo {
    /**
     * ID
     */
    private Integer empId;

    /**
     * 员工名称
     */
    @ExcelProperty(index = 0)
    private String empName;

    /**
     * 部门Id
     */
    private Integer empDept;

    /**
     * 联系电话
     */
    @ExcelProperty(index = 1)
    private String empPhone;

    /**
     * 电子邮箱
     */
    @ExcelProperty(index = 2)
    private String empEmail;

    /**
     * 部门名称
     */
    @ExcelProperty(index = 3)
    private  String deptName;
}
